#include "TK.h"

int main(int argc,char *argv[]){
	int data[argc-1];
	int i,j;

	for(i=0,j=1;j<argc-1;j++,i++)
	data[i] = atoi(argv[j]);
	
	int val = atoi(argv[argc-1]);
	printf("The site of target value is %d.\n",general(data,argc-2,val));
	printf("The site of target value is %d.\n",recursion(data,argc-2,val));
	printf("The square root of target value is %lf.\n",compute(val,6));

	return 0;
}
